package lab02.test12;

public class Rectangular extends Shape {

    double length;
    double width;
    @Override
    double area() {
        return length*width;
    }

    @Override
    double perimeter() {
        return 2*length+2*width;
    }
}
